import request from '@/utils/request'

//获取题库下拉框
export function addDept(params) {
  return request({
    url: '/sysDept/add',
    method: 'post',
    headers: {
      "Content-Type": "application/json;charset=UTF-8",
    },
    data: params
  })
}


//获取题库下拉框
export function updateDept(params) {
    return request({
      url: '/sysDept/edit',
      method: 'post',
      headers: {
        "Content-Type": "application/json;charset=UTF-8",
      },
      data: params
    })
  }
  //获取题库下拉框
export function delDept(params) {
    return request({
      url: '/sysDept/delDept',
      method: 'get',
      params
    })
  }
  